<body>
  <iframe
      style="width: 100%; height: 300px; box-sizing: border-box"
      srcdoc="<body style='margin: 0px'><div style='background: green; width: 20px; height: 20px'></div></body>"></iframe>
</body>
